<!--${_TPL.put('titles',(mtag['tagname'], mtag['title'], '成员'))}-->
<!--$embed{"header.htm"}-->

<h2 class="title">
	<img src="image/app/mtag.gif"><a href="space.html?do=mtag&id=${mtag['fieldid']}">${mtag['title']}</a> -
	<a href="space.html?do=mtag&tagid=${mtag['tagid']}">${mtag['tagname']}</a>
</h2>
<div class="tabs_header">
	<ul class="tabs">
		<li><a href="space.html?do=mtag&tagid=${mtag['tagid']}"><span>首页</span></a></li>
		<li><a href="space.html?do=mtag&tagid=${mtag['tagid']}&view=list"><span>讨论区</span></a></li>
		<li><a href="space.html?do=mtag&tagid=${mtag['tagid']}&view=digest"><span>精华区</span></a></li>
		<li class="active"><a href="space.html?do=mtag&tagid=${mtag['tagid']}&view=member"><span>成员列表</span></a></li>
		<!--$if{ mtag['allowpost']}--><li class="null"><a href="cp.html?ac=thread&tagid=${tagid}">发起新话题</a></li><!--$end-->
	</ul>
</div>

<script>
function searchFriend() {
	document.getElementById('searchform').submit();
}
</script>

<div class="h_status">
<form name="searchform" id="searchform" method="get" action="space.html?do=mtag&tagid=${mtag['tagid']}&view=member">
<table cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<td>
			成员列表
			<!--$if{ mtag['grade']>=8}--><span class="pipe">|</span><a href="cp.html?ac=mtag&op=manage&tagid=${mtag['tagid']}&subop=members">成员批量管理</a><!--$end-->
			</td>
		<td align="right">
			<table cellspacing="0" cellpadding="0">
				<tr>
					<td style="padding: 0;"><input type="text" id="key" name="key" value="搜索成员" onfocus="if(this.value=='搜索成员')this.value='';" class="t_input" tabindex="1" style="width: 160px; border-right: none;" /></td>
					<td style="padding: 0;"><a href="javascript:searchFriend();"><img src="image/search_btn.gif" alt="搜索" /></a></td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<input type="hidden" name="do" value="mtag">
<input type="hidden" name="tagid" value="${mtag['tagid']}">
<input type="hidden" name="view" value="member">
<input type="hidden" name="formhash" value="<!--${&com.heaven.web.utils.Common.formhash()}-->" /></form>
</div>

<div class="thumb_list">
	<!--$if{ list}-->
	<table cellspacing="6" cellpadding="0">
	<!--$for{value:list}-->
		<tr>
			<td class="thumb <!--$if{ ols[value['uid']]}-->online<!--$end-->">
				<table cellpadding="4" cellspacing="4">
					<tr>
						<td class="image">
						<div class="ar_r_t"><div class="ar_l_t"><div class="ar_r_b"><div class="ar_l_b">
						<a href="space.html?uid=${value['uid']}"><img src="<!--${&com.heaven.web.utils.Common.avatar(value['uid'],'big')}-->" alt="${_SN[value['uid']]}" /></a>
						</div></div></div></div>
						</td>
						<td>
							<h6>
								<a href="space.html?uid=${value['uid']}">${_SN[value['uid']]}</a>
							</h6>
							<p class="l_status">
							<!--$if{ mtag['grade']>=8}-->
								<a href="cp.html?ac=mtag&op=manage&subop=member&tagid=${mtag['tagid']}&uid=${value['uid']}" id="a_mod_${for.index}" onclick="ajaxmenu(event, this.id, 99999, '', -1)" class="r_option" style="padding-left:0.5em;">管理该成员</a>
							<!--$end-->
								<span class="r_option gray" id="mtag_member_${value['uid']}">
								<!--$if{ value['grade']==9}-->群主
								<!--$elseif{ value['grade']==8}-->副群主
								<!--$elseif{ value['grade']==1}-->明星
								<!--$elseif{ value['grade']==-1}-->禁言
								<!--$elseif{ value['grade']==-2}-->待审核<!--$end-->
								</span>
								<a href="cp.html?ac=friend&op=add&uid=${value['uid']}" id="a_friend_${for.index}" onclick="ajaxmenu(event, this.id, 99999, '', -1)">加为好友</a>
								<span class="pipe">|</span><a href="cp.html?ac=pm&uid=${value['uid']}" id="a_pm_${for.index}" onclick="ajaxmenu(event, this.id, 99999, '', -1)">发短消息</a>
								<span class="pipe">|</span><a href="cp.html?ac=poke&op=send&uid=${value['uid']}" id="a_poke_${for.index}" onclick="ajaxmenu(event, this.id, 99999, '', -1)">打招呼</a>
							</p>
							
							<!--$if{ ols[value['uid']]}-->
							<p><span class="gray">动作：</span><!--${&com.heaven.web.utils.Common.sgmdate('MM-dd HH:mm',ols[value['uid']],true)}--></p>
							<!--$end-->
							<!--$if{ value['resideprovince'] || value['residecity']}-->
							<p><span class="gray">地区：</span><a href="network.html?ac=space&resideprovince=${value['p']}&residecity=&searchmode=2">${value['resideprovince']}</a> <a href="network.html?ac=space&resideprovince=${value['p']}&residecity=${value['c']}&searchmode=2">${value['residecity']}</a></p>
							<!--$end-->
	
							<!--$if{ value['note']}-->
							<p><span class="gray">状态：</span>${value['note']}</p>
							<!--$end-->

						</td>
					</tr>
				</table>
			</td>
		</tr>
		<!--$end-->
	</table>
	<!--$else-->
	<div class="c_form">没有找到可浏览的成员信息。</div>
	<!--$end-->
</div>

<div class="page">${multi}</div>


<!--$embed{"footer.htm"}-->
